package com.xdtech.hotel.model;

import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.xdtech.core.model.BaseModel;

/**
 * 
 * @author max.zheng
 * @create 2015-05-05 22:31:28
 * @since 1.0
 * @see 
 */
@Entity
@Table(name="HOTEL_DEVICE_EVENT")
public class DeviceEvent extends BaseModel implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;
	@Column(name="SN")
	private String sn;
	@Column(name="EVENT_TYPE")
	private String eventType;
	@Column(name="EVENT_NAME")
	private String eventName;
	@Column(name="EVENT_DESC")
	private String eventDesc;
	@Column(name="EVENT_OPERATOR")
	private String eventOperator;
	@Column(name="REMARK")
	private String remark;
	@Column(name="OPERATION_CONTENT")
	private String operationContent;
	
	
	public DeviceEvent()
	{
		super();
	}
	
	public DeviceEvent(String sn, String eventType, String operationContent)
	{
		super();
		this.sn = sn;
		this.eventType = eventType;
		this.operationContent = operationContent;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return id;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public String getSn() {
		return sn;
	}
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}
	public String getEventType() {
		return eventType;
	}
	public void setEventName(String eventName) {
		this.eventName = eventName;
	}
	public String getEventName() {
		return eventName;
	}
	public void setEventDesc(String eventDesc) {
		this.eventDesc = eventDesc;
	}
	public String getEventDesc() {
		return eventDesc;
	}
	public void setEventOperator(String eventOperator) {
		this.eventOperator = eventOperator;
	}
	public String getEventOperator() {
		return eventOperator;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getRemark() {
		return remark;
	}
	public void setOperationContent(String operationContent) {
		this.operationContent = operationContent;
	}
	public String getOperationContent() {
		return operationContent;
	}
}
